<?php require_once(HResponse::path() . 'common/header.html'); ?>
<link href="<?php echo HResponse::uri(); ?>css/inner.css?3=7" rel="stylesheet" type="text/css" media='all' />
<link href="<?php echo HResponse::uri(); ?>css/pro.css?3=12" rel="stylesheet" type="text/css">
<link href="<?php echo HResponse::uri(); ?>css/box.css?3=5" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo HResponse::uri(); ?>common/pdfempord.js"></script>
<script type="text/javascript" src="<?php echo HResponse::uri(); ?>common/select.js?3=10"></script>
<script type="text/javascript" src="<?php echo HResponse::uri(); ?>common/html2canvas.min.js"></script>
<script type="text/javascript" src="<?php echo HResponse::uri(); ?>common/jspdf.debug.js"></script>
<script type="text/javascript" src="<?php echo HResponse::uri(); ?>common/pdfobject2.js"></script>
</head>
<body>
<?php require_once(HResponse::path() . 'common/top.html'); ?>
<?php require_once(HResponse::path() . 'common/rec.html'); ?>
<div class="wrapper clearfix">
    <div id="p_right">
        <h2><?php echo HResponse::getAttribute('curParentTitle'); ?></h2>
        <div class="tab-wrapper">
            <ul class="tab-menu">
                <li>COLOR</li><span>|</span>
                <li>SHAPE</li><span>|</span>
                <li>RIM</li><span>|</span>
                <li>MATERIAL</li>
            </ul>
            <div class="tab-content">
                <div class="boxcolor">
                    <?php $type = 'color'; foreach(HResponse::getAttribute($type . '_list') as $item) { ?>
                    <label><input type="checkbox" name="color_box" value="<?php echo $item['id']; ?>">

                        <article class="whitebox">
                        <?php if ($item['content']) {?>
                        <i class="colorStyle" style="background:#<?php echo $item['content']; ?>"></i>
                        <?php } else { ?>
                        <i class="colorStyle" style="background:url(<?php echo HResponse::touri($item['image_path']); ?>)"></i>
                        <?php } ?>
                        </article>


                    
                        <i class="chk_txt"><?php echo $item['name']; ?></i></label>
                    <?php } ?>
                </div>
                <div class="boxshape">
                    <?php $type = 'shape'; foreach(HResponse::getAttribute($type . '_list') as $item) { ?>
                    <label><input type="checkbox" name="shape_box" value="<?php echo $item['id']; ?>"><i class="chk_txt"><?php echo $item['name']; ?></i></label>
                    <?php } ?>
                </div>
                <div class="boxrim">
                    <?php $type = 'rim'; foreach(HResponse::getAttribute($type . '_list') as $item) { ?>
                    <label><input type="checkbox" name="rim_box" value="<?php echo $item['id']; ?>">
                        <i class="chk_txt"><?php echo $item['name']; ?></i></label>
                    <?php } ?>
                </div>
                <div class="boxmaterial">
                    <?php $type = 'material'; foreach(HResponse::getAttribute($type . '_list') as $item) { ?>
                    <label><input type="checkbox" name="mat_box" value="<?php echo $item['id']; ?>"><i class="chk_txt"><?php echo $item['name']; ?></i></label>
                    <?php } ?>
                </div>
            </div>
        </div>
        <div id="content">
        </div>
        <div class="m_pro_list4">
        </div>
        <?php if(I('keyword')=='procollect'){ ?>
        <div class="boxbut"><a href="javascript:void(0)" class="click_pop2">Inquiry</a></div>
        <?php } ?>
        <?php require_once(HResponse::path() . 'common/question.html'); ?>
    </div>
    <div class="clear"></div>
</div>
<?php require_once(HResponse::path() . 'common/footer.html'); ?>
<?php require_once(HResponse::path() . 'common/faq.html'); ?>
<script>
    var parentId = "<?php echo I('parent_id') ?: 0; ?>";
    var keyword  = "<?php echo I('keyword') ?: ''; ?>";
</script>
</body>
</html>
